package net.lab1024.sa.admin.module.business.roland.domain.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 客户订单表 新建表单
 *
 * @Author dragon
 * @Date 2023-12-11 13:27:12
 * @Copyright dragon
 */

@Data
public class RolandOrderForm {

    @ApiModelProperty(value = "学生姓名", required = true)
    @NotNull(message = "学生姓名 不能为空")
    private Integer customerId;

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号 不能为空")
    private String phone;

    @ApiModelProperty(value = "座位", required = true)
    @NotEmpty(message = "请选择座位")
    private List<Integer> seatIds;
}